package cn.xny.user.service;

import cn.xny.basic.service.BaseService;
import cn.xny.user.domain.User;

import javax.mail.MessagingException;
import java.util.Map;


/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Tom
 * @since 2023-02-07
 */
public interface UserService extends BaseService<User> {
    //手机注册
    void phoneRegister(Map<String, String> map);
   //邮箱注册
    void emailRegister(Map<String, String> map) throws MessagingException;

    void userAudit(Long id);
}
